package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户评论点赞对象 hy_reviews_thumbs_up
 * 
 * @author ruoyi
 * @date 2025-06-23
 */
public class HyReviewsThumbsUp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 点赞ID */
    private Long thumbsUpId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 评论ID */
    @Excel(name = "评论ID")
    private Long reviewsId;

    /** 点赞状态(0未点赞，1点赞) */
    @Excel(name = "点赞状态(0未点赞，1点赞)")
    private String targetType;

    /** 点赞时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "点赞时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date targetTime;

    public void setThumbsUpId(Long thumbsUpId) 
    {
        this.thumbsUpId = thumbsUpId;
    }

    public Long getThumbsUpId() 
    {
        return thumbsUpId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setReviewsId(Long reviewsId) 
    {
        this.reviewsId = reviewsId;
    }

    public Long getReviewsId() 
    {
        return reviewsId;
    }

    public void setTargetType(String targetType) 
    {
        this.targetType = targetType;
    }

    public String getTargetType() 
    {
        return targetType;
    }

    public void setTargetTime(Date targetTime) 
    {
        this.targetTime = targetTime;
    }

    public Date getTargetTime() 
    {
        return targetTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("thumbsUpId", getThumbsUpId())
            .append("userId", getUserId())
            .append("reviewsId", getReviewsId())
            .append("targetType", getTargetType())
            .append("targetTime", getTargetTime())
            .toString();
    }
}
